<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
    <title>{{ title }}</title>
    <meta content="text/html; charset=utf-8" http-equiv="content-type"></meta>
    <link href="display.css" rel="stylesheet" type="text/css"></link>
    <link href="pygments.css" rel="stylesheet" type="text/css"></link>
</head>
<body>
    <div id="main">
{% if file_id == 'index' %}
        <h1 class="title">{{ title }}</h1>
{% else %}
        <h1>{{ title|mark_tail("Pybtex") }}</h1>
{% endif %}
{% if file_id not in  ('index', 'history') and toc %}
        <div id="toc">
            <h2>Contents</h2>
            <ul class="contents">
    {% for key, value in toc %}
            <li><a href="{{ key }}">{{ value }}</a></li>
    {% endfor %}
            </ul>
        </div>
{% endif %}
        <div id="content">
            {{ body }}
        </div>
        <div id="footer">
            <hr />
            {% if modification_date %}
            <div id="footer-right">
                <p>Last modified on {{ modification_date }}.</p>
            </div>
            {% endif %}
            <div id="footer-left">
{% if for_site %}
                <a href="http://sourceforge.net">
                    <img alt="SourceForge.net Logo" height="31" src="http://sflogo.sourceforge.net/sflogo.php?group_id=151578&amp;type=1" width="88" />
                </a>
                <a href="http://validator.w3.org/check/referer">
                    <img alt="Valid XHTML 1.0!" height="31" src="http://www.w3.org/Icons/valid-xhtml10" width="88" />
                </a>
                <a href="http://jigsaw.w3.org/css-validator/check/referer">
                    <img alt="Valid CSS!" height="31" src="http://jigsaw.w3.org/css-validator/images/vcss" width="88" />
                </a>
{% else %}
                <p>Generated by <a href="http://docutils.sourceforge.net/">Docutils</a>,
                <a href="http://jinja.pocoo.org/">Jinja</a>
                and <a href="http://pygments.org/">Pygments</a>.</p>
{% endif %}
            </div>
        </div>
    </div>
</body>
</html>
